package com.szgr.baoyin.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;

import com.szgr.baoyin.R;

/**
 * 融资租赁有限公司
 */
public class FinanceDetailActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        setContentView(R.layout.activity_finance_detail);
        super.onCreate(savedInstanceState);
    }

    @Override
    public void initActionBar() {
        actionBarTitle.setText("融资租赁有限公司");
    }

    @Override
    public void initView() {
        Button btn_apply = (Button) findViewById(R.id.finance_detail_apply);
        btn_apply.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.action_bar_left:
                finish();
                break;
            case R.id.finance_detail_apply:
                Intent financeIntent = new Intent(this,FinanceApplyActivity.class);
                startActivity(financeIntent);
                break;
        }
    }
}
